// 字典表
export const checkType = [
  {
    label: '在线检验',
    value: '0'
  },
  {
    label: '离线检验',
    value: '1'
  }
] // 检验类型
export const order = [
  {
    label: '>0.1',
    value: '0.1'
  },
  {
    label: '>1.0',
    value: '1.0'
  },
  {
    label: '>5.0',
    value: '5.0'
  },
  {
    label: '>10.0',
    value: '10.0'
  },
  {
    label: '>25',
    value: '25'
  },
  {
    label: '>50',
    value: '50'
  }
] // 检验阈值
export const methods = [
  {
    label: 'TS评分',
    value: '0'
  },
  {
    label: 'ETS',
    value: '1'
  },
  {
    label: '空报',
    value: '2'
  },
  {
    label: '漏报',
    value: '3'
  },
  {
    label: '预报偏差',
    value: '4'
  },
  {
    label: '命中率',
    value: '5'
  }
] // 检验方法
export const patterns = [
  {
    label: 'GRAPES',
    value: '0'
  },
  {
    label: 'EC模式',
    value: '1'
  },
  {
    label: '华南模式',
    value: '2'
  },
  {
    label: '订正模式',
    value: '3'
  }
] // 模式
export const hours_d = [
  {
    label: '08',
    value: '8'
  },
  {
    label: '02',
    value: '2'
  },
  {
    label: '14',
    value: '14'
  },
  {
    label: '20',
    value: '20'
  }
] // 起报时间-订正预报
export const hours_f = [
  {
    label: '08',
    value: '08'
  },
  {
    label: '02',
    value: '02'
  },
  {
    label: '14',
    value: '14'
  },
  {
    label: '20',
    value: '20'
  }
] // 起报时间-风险预警
export const periods = [
  {
    label: '12小时',
    value: '12'
  },
  {
    label: '24小时',
    value: '24'
  },
  {
    label: '36小时',
    value: '36'
  },
  {
    label: '48小时',
    value: '48'
  },
  {
    label: '60小时',
    value: '60'
  },
  {
    label: '72小时',
    value: '72'
  }
] // 时效
export const product = [
  {
    label: '暴雨规划',
    value: '0'
  },
  {
    label: '色斑图',
    value: '1'
  }
] // 产品选择
export const proRules = {
  forecastUsr: [
    {
      required: true,
      message: '预报不能为空',
      trigger: ['change']
    }
  ],
  enteringUsr: [
    {
      required: true,
      message: '录入不能为空',
      trigger: ['change']
    }
  ],
  verifyUsr: [
    {
      required: true,
      message: '校验不能为空',
      trigger: ['change']
    }
  ] /* trigger触发方式判定是否失去焦点，change则更注重内容数据是否改变。 */,
  department: [
    {
      required: true,
      message: '签发单位不能为空',
      trigger: ['blur', 'change']
    }
  ]
} // 生成产品校验规则
export const productType = [
  {
    type: '暴雨风险预警产品',
    value: 1
  },
  {
    type: '精细化雨量订正产品',
    value: 2
  }
] // 产品展示类型
